Syntactically Recognizable Modularly Stratified Programs

نویسندگان

  • David B. Kemp
  • Kotagiri Ramamohanarao
چکیده

We present an eecient evaluation technique for modularly stratiied programs for which the local strata level mappings are known at compile time. We present an important subclass of these programs (called EMS-programs) in which one can easily express problems such as shortest distance, company ownership, bill of materials, preferential vote counting, and matrix diagonalization. Programs written in this style are easier to understand and can be eeciently computed. Another virtue of these programs is that their modular-stratiication properties are independent of the extensional database. We also present compiler optimizations for EMS-programs.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Syntactic Strati cation Condition Using Constraints

Stratiication conditions for logic programs aim to ensure a two-valued semantics by restricting the class of allowable programs. Previous stratiication conditions suuer from one of two problems. Some (such as modular stratiication and weak stratiication) are semantic, and cannot be recognized without examining the facts in addition to the rules of the program. Others (such as stratiication and ...

متن کامل

A Syntactic Stratification Condition Using Constraints

Stratiication conditions for logic programs aim to ensure a two-valued semantics by restricting the class of allowable programs. Previous stratiication conditions suuer from one of two problems. Some (such as modular stratiication and weak stratiication) are semantic, and cannot be recognized without examining the facts in addition to the rules of the program. Others (such as stratiication and ...

متن کامل

Well-Founded Ordered Search: Goal-Directed Bottom-Up Evaluation of Well-Founded Models

There have been several evaluation mechanisms proposed for computing query answers based on the well-founded semantics, for programs with negation. However, these techniques are costly; in particular, for the special case of modularly stratiied programs, Ordered Search is more eecient than the general purpose techniques. However, Ordered Search is applicable only to modularly stratiied programs...

متن کامل

Constraint Strati cation in Deductive Databases

We propose a syntactic condition on deductive database programs that ensures a two-valued well-founded model. This condition, called constraint stratiication, is signiicantly more general than previous syntactic conditions such as stratiication and local stratiication. Modular stratiication has been proposed as a semantic (i.e., nonsyntactic) condition for ensuring a two-valued well-founded mod...

متن کامل

Constraint Stratification in Deductive Databases

We propose a syntactic condition on deductive database programs that ensures a two-valued well-founded model. This condition, called constraint stratiication, is signiicantly more general than previous syntactic conditions such as stratiication and local stratiication. Modular stratiication has been proposed as a semantic (i.e., nonsyntactic) condition for ensuring a two-valued well-founded mod...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994